package com.ebelter.btcomlib.models.db.products.seneo;

import com.ebelter.btcomlib.models.db.AppDatabase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;


//Seneo当前用户的测量信息上传数据的缓存池
@Table(database = AppDatabase.class)
public class SeneoUserMeasureUploadData extends BaseModel {
    @PrimaryKey(autoincrement = true)//ID自增
    public long id;

    @Column
    public long host_id;

    @Column
    public long user_id;

    /*测量时间*/
    @Column
    public String measureTime;

    /*体重*/
    @Column
    public float weight;

    /*体脂率*/
    @Column
    public float fat;

    /*水分率*/
    @Column
    public float waterRate;

    /*基础代谢率率*/
    @Column
    public float bmr;

    /*内脏脂肪等级*/
    @Column
    public float visceralFat;

    /*肌肉量*/
    @Column
    public float muscleVolume;

    /*骨骼肌*/
    @Column
    public float skeletalMuscle;

    /*骨量*/
    @Column
    public float boneVolume;

    /*BMI*/
    @Column
    public float bmi;

    /*蛋白质*/
    @Column
    public float protein;

    /*身体得分*/
    @Column
    public int bodyScore;

    /*身体年龄*/
    @Column
    public int bodyAge;

    /*蛋白质*/
    @Column
    public float tofatWeight;

    /*蛋白质*/
    @Column
    public float weightControl;

    /*身体得分*/
    @Column
    public int size;


    @Override
    public String toString() {
        return "SeneoUserMeasureUploadData{" +
                "id=" + id +
                ", host_id=" + host_id +
                ", user_id=" + user_id +
                ", measureTime='" + measureTime + '\'' +
                ", weight=" + weight +
                ", fat=" + fat +
                ", waterRate=" + waterRate +
                ", bmr=" + bmr +
                ", visceralFat=" + visceralFat +
                ", muscleVolume=" + muscleVolume +
                ", skeletalMuscle=" + skeletalMuscle +
                ", boneVolume=" + boneVolume +
                ", bmi=" + bmi +
                ", protein=" + protein +
                ", bodyScore=" + bodyScore +
                ", bodyAge=" + bodyAge +
                ", tofatWeight=" + tofatWeight +
                ", weightControl=" + weightControl +
                ", size=" + size +
                '}';
    }
}
